package com.example.myapplication.bean;

import androidx.annotation.NonNull;

public class People {
    private Integer id;
    private String name;
    private Float height;
    private Integer age;

    @NonNull
    @Override
    public String toString() {
        String result = "";
        result += "ID：" + id + "，";
        result += "姓名：" + name + "，";
        result += "年龄：" + age + "， ";
        result += "身高：" + height + "，";
        return result;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getHeight() {
        return height;
    }

    public void setHeight(Float height) {
        this.height = height;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
